#include <stdio.h>

#define PI 3.1415926

int main()
{
	int n;
	scanf("%d", &n);
	double x[512], y[512];
	for(int i = 0; i < n; i++)
	{
		scanf("%lf%lf", &x[i], &y[i]);
	}

	for(int i = 0; i < n; i++)
	{
		double area = PI * (x[i] * x[i] + y[i] * y[i]) / (double)2;
		int id = (int)area / 50 + 1;
		printf("Property %d: This property will begin eroding in year %d.\n", i + 1, id);
	}

	printf("END OF OUTPUT.\n");

	return 0;
}